package com.ibigcat.module.mdm.controller.admin.org.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 组织机构新增/修改 Request VO")
@Data
public class OrgSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "29007")
    private Long id;

    @Schema(description = "组织名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "组织名称不能为空")
    private String orgName;

    @Schema(description = "组织编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "组织编码不能为空")
    private String orgCode;

    @Schema(description = "组织类型", example = "1")
    private Long orgType;

    @Schema(description = "上级编码", example = "12257")
    private String parentId;

    @Schema(description = "启停状态")
    private Integer disabled;

}